<!Doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta property="qc:admins" content="465267610762567726375" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>Python 教程 的搜索結果</title>

  <meta name='robots' content='noindex, follow, max-image-preview:large' />
<link rel='dns-prefetch' href='//s.w.org' />
<meta name="keywords" content="Python 教程">
<meta name="description" content="菜鸟教程: Python 教程 的搜索結果..">
		
	<link rel="shortcut icon" href="https://static.runoob.com/images/favicon.ico" mce_href="//static.runoob.com/images/favicon.ico" type="image/x-icon" >
	<link rel="stylesheet" href="/wp-content/themes/runoob/style.css?v=1.165" type="text/css" media="all" />	
	<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.min.css" media="all" />	
  <!--[if gte IE 9]><!-->
  <script src="https://cdn.staticfile.org/jquery/2.0.3/jquery.min.js"></script>
  <!--<![endif]-->
  <!--[if lt IE 9]>
     <script src="https://cdn.staticfile.org/jquery/1.9.1/jquery.min.js"></script>
     <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <![endif]-->
  <link rel="apple-touch-icon" href="https://static.runoob.com/images/icon/mobile-icon.png"/>
  <meta name="apple-mobile-web-app-title" content="菜鸟教程">
</head>
<body>

<!--  头部 -->
<div class="container logo-search">

  <div class="col search row-search-mobile">
    <form action="index.php">
      <input class="placeholder" placeholder="搜索……" name="s" autocomplete="off">
      
    </form>
  </div>

  <div class="row">
    <div class="col logo">
      <h1><a href="/">菜鸟教程 -- 学的不仅是技术，更是梦想！</a></h1>
    </div>
        
    <div class="col search search-desktop last">
      <div class="search-input" >
      <form action="//www.runoob.com/" target="_blank">
        <input class="placeholder" id="s" name="s" placeholder="搜索……"  autocomplete="off" style="height: 44px;">
      </form>
      
      </div>
    </div>
  </div>
</div>



<!-- 导航栏 -->
<!-- 导航栏 -->
<div class="container navigation">
	<div class="row">
		<div class="col nav">
			<ul class="pc-nav" id="runoob-detail-nav">
				<li><a href="//www.runoob.com/">首页</a></li>
				<li><a href="/html/html-tutorial.html">HTML</a></li>
				<li><a href="/css/css-tutorial.html">CSS</a></li>
				<li><a href="/js/js-tutorial.html">JavaScript</a></li>
				
				<li><a href="javascript:void(0);" data-id="vue">Vue</a></li>
				<li><a href="javascript:void(0);" data-id="bootstrap">Bootstrap</a></li>
				<li><a href="/nodejs/nodejs-tutorial.html">NodeJS</a></li>
				<li><a href="/jquery/jquery-tutorial.html">jQuery</a></li>
				<li><a href="javascript:void(0);" data-id="python">Python</a></li>
				<li><a href="/java/java-tutorial.html">Java</a></li>
				<li><a href="/cprogramming/c-tutorial.html">C</a></li>
				<li><a href="/cplusplus/cpp-tutorial.html">C++</a></li>
				<li><a href="/csharp/csharp-tutorial.html">C#</a></li>
				<li><a href="/go/go-tutorial.html">Go</a></li>
				<li><a href="/sql/sql-tutorial.html">SQL</a></li>
				<li><a href="/linux/linux-tutorial.html">Linux</a></li>
				<li><a href="/browser-history">本地书签</a></li>
				<!--
			
				<li><a href="/w3cnote/knowledge-start.html" style="font-weight: bold;" onclick="_hmt.push(['_trackEvent', '星球', 'click', 'start'])" title="我的圈子">我的圈子</a></li>				
				<li><a href="javascript:;" class="runoob-pop">登录</a></li>
				-->
      		</ul>
			<ul class="mobile-nav">
				<li><a href="//www.runoob.com/">首页</a></li>
				<li><a href="/html/html-tutorial.html">HTML</a></li>
				<li><a href="/css/css-tutorial.html">CSS</a></li>
				<li><a href="/js/js-tutorial.html">JS</a></li>
				<li><a href="/browser-history">本地书签</a></li>
				<li><a href="javascript:void(0)" class="search-reveal">Search</a> </li>
			</ul>
			
		</div>
	</div>
</div>

<div class="container sub-navigation sub-navigation-articles" style="display:none">
	<div class="row">
		<div class="col nav-sub">
		<ul id="python">
			<li class="cat-item"><a href="/python3/python3-tutorial.html">Python3 教程</a></li>
			<li class="cat-item"><a href="/python/python-tutorial.html">Python2 教程</a></li>
		</ul>
		<ul id="vue">
			<li class="cat-item"><a href="/vue3/vue3-tutorial.html">Vue3 教程</a></li>
			<li class="cat-item"><a href="/vue/vue-tutorial.html">vue2 教程</a></li>
		</ul>

		<ul id="bootstrap">
			<li class="cat-item"><a href="/bootstrap/bootstrap-tutorial.html">Bootstrap3 教程</a></li>
			<li class="cat-item"><a href="/bootstrap4/bootstrap4-tutorial.html">Bootstrap4 教程</a></li>
			<li class="cat-item"><a href="/bootstrap5/bootstrap5-tutorial.html">Bootstrap5 教程</a></li>
			<li class="cat-item"><a href="/bootstrap/bootstrap-v2-tutorial.html">Bootstrap2 教程</a></li>
		</ul>
		</div>
	</div>
</div><!--  内容  -->
<style>
em{
	color:#c00;
}
</style>

<div class="container main">
	<div class="row">		
		<div class="col middle-column big-middle-column">
			<div class="archive-options" style="display:block;">
		
			<div class="wrapper">
			<div class="search-input">
				<form action="/" id="runnob-search-form">
				<input placeholder="搜索.."  value="Python 教程" type="text" id="runnob-search-input" name="s" autocomplete="off">
			
				<div class="icon"><i class="fa fa-search" aria-hidden="true"></i></div>
				</form>
			</div>
			</div>
			
			</div>
			
			<div class="archive-list">

									
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python/python-tutorial.html" rel="bookmark" title=" <em>Python</em> 基础<em>教程</em>" onclick="push_runoob_search(4008)"> 
							<em>Python</em> 基础<em>教程</em>							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							Python 基础教程 Python 是一种解释型、面向对象、动态数据类型的高级程序设计语言。Python 由 Guido van Rossum 于 1989 年底发明，第一个公开发行版发行于 1991 年。...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python3/python3-tutorial.html" rel="bookmark" title=" <em>Python</em>3 <em>教程</em>" onclick="push_runoob_search(7279)"> 
							<em>Python</em>3 <em>教程</em>							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							Python 3 教程 Python 的 3.0 版本，常被称为 Python 3000，或简称 Py3k。相对于 Python 的早期版本，这是一个较大的升级。为了不带入过多的累赘，Python 3.0 在设计的...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python3/python-urllib.html" rel="bookmark" title=" <em>Python</em> urllib" onclick="push_runoob_search(23611)"> 
							<em>Python</em> urllib							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							'https://www.runoob.com/?s=' # 菜鸟教程搜索页面 keyword='<em color="red">Python 教程</em>' key_code= urllib.request.quote(keyword)#对请求进行编码 url_all=url+key_code header={ 'U...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python/python-exceptions.html" rel="bookmark" title=" <em>Python</em> 异常处理" onclick="push_runoob_search(4532)"> 
							<em>Python</em> 异常处理							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							异常处理:本站Python教程会具体介绍。断言(Assertions):本站Python教程会具体介绍。python标准异常 异常名称 描述 BaseException 所有异常的基类 SystemExit解释器请求...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/w3cnote/python-ten-minute-introductory-tutorial.html" rel="bookmark" title=" <em>Python</em>十分钟入门" onclick="push_runoob_search(11154)"> 
							<em>Python</em>十分钟入门							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							简介 Python是一种动态解释型的编程语言。...特点 1 Python使用C语言开发，但是Python不再有C语言中的指针等复杂的数据类型。2 Python具有很强的面向对象特性，而且简化...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/w3cnote/keyword-manual.html" rel="bookmark" title=" 菜鸟<em>教程</em>关键字手册" onclick="push_runoob_search(12983)"> 
							菜鸟<em>教程</em>关键字手册							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							python、py <em color="red">Python 教程</em> ios iOS 教程 	swift 	Swift 教程 json JSON 教程 jquery、jq jQuery 教程 jQuery UI 教程 rss RSS 教程 xml XML 教程 mongo MongoDB 教程 正则...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python3/python-mongodb.html" rel="bookmark" title=" <em>Python</em> MongoDB" onclick="push_runoob_search(20150)"> 
							<em>Python</em> MongoDB							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							数据库安装与介绍可以查看我们的MongoDB 教程。PyMongo Python 要连接 MongoDB 需要 MongoDB 驱动，这里我们使用 PyMongo 驱动来连接。pip 安装 pip 是一个通用的 Pytho...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python/python-json.html" rel="bookmark" title=" <em>Python</em> JSON" onclick="push_runoob_search(9866)"> 
							<em>Python</em> JSON							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							本教程我们会下载 Demjson 并安装：$tar xvzf demjson-2.2.3.tar.gz$cd demjson-2.2.3$python setup.py install 更多安装介绍查看：http://deron.meranda.us/python/dem...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python3/python-vscode-setup.html" rel="bookmark" title=" <em>Python</em> VScode 配置" onclick="push_runoob_search(24148)"> 
							<em>Python</em> VScode 配置							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							下载软件包，一步步安装即可，安装过程注意安装路径设置、环境变量默认自动添加到系统中，勾选以下所有选项：VSCode 完整安装教程参考： https://www.runoob.com/w3cnot...							</p>
						</div>
					</div>
					  					
					<div class="archive-list-item">
						<div class="post-intro" style="width: 100%">
							<h2><a target="_blank" href="http://www.runoob.com/python3/python3-function.html" rel="bookmark" title=" <em>Python</em>3 函数" onclick="push_runoob_search(7303)"> 
							<em>Python</em>3 函数							</a> <i class="fa fa-external-link"></i></h2>
							<p>
							菜鸟教程")[/mycode3]以上实例输出结果：菜鸟教程 以下实例中演示了函数参数的使用不需要使用指定顺序：实例(Python 3.0+) [mycode3 type="python"]#!usr/bin/python3#...							</p>
						</div>
					</div>
					  			</div>
		<div class="article">
			<div class="archive-list-item">
				<div id="wp_page_numbers">
				<ul>
				<li><span>1</span></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=2'>2</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=3'>3</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=4'>4</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=5'>5</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=6'>6</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=7'>7</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=8'>8</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=9'>9</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=10'>10</a></li><li><a href='/?s=Python%20%E6%95%99%E7%A8%8B&amp;page=2' class="btn_page"><label>下一页</label><b>&gt;</b></a></li>				</ul>
				<div style="float: none; clear: both;"></div>
				</div>
			</div>
		</div>

</div>
		 <!-- 热门搜索start -->
	<div class="listcol last right-column">
		<div class="sidebar-box cate-list">
			<div class="sidebar-box recommend-here list-link">
				<a href="javascript:void(0);" style="font-size: 16px; color:#64854c;font-weight:bold;">
				<i class="fa fa-hashtag" aria-hidden="true"></i> 热门搜索
				</a>
			</div>
			<div class="cate-items"> 
			
			</div>
		</div>
	</div>
	 <!-- 热门搜索end -->

</div>
</div>
<script>
function autocomplete(inp, arr) {
  var currentFocus;
  inp.addEventListener("input", function(e) {
      var a, b, i, val = this.value;
      closeAllLists();
      if (!val) { return false;}
      currentFocus = -1;
      a = document.createElement("DIV");
      a.setAttribute("id", this.id + "autocomplete-list");
      a.setAttribute("class", "autocomplete-items");
      this.parentNode.appendChild(a);
      a.style.display="none";
      for (i = 0; i < arr.length; i++) {
        if (arr[i].substr(0, val.length).toUpperCase() == val.toUpperCase()) {
          b = document.createElement("DIV");
          b.innerHTML = "<strong>" + arr[i].substr(0, val.length) + "</strong>";
          b.innerHTML += arr[i].substr(val.length);
          b.innerHTML += "<input type='hidden' value='" + arr[i] + "'>";
          b.addEventListener("click", function(e) {
              inp.value = this.getElementsByTagName("input")[0].value;
              closeAllLists();
              $("#runnob-search-form").submit();
          });
          a.appendChild(b);
          a.style.display="block";
          
        }
      }
  });

  inp.addEventListener("keydown", function(e) {
      var x = document.getElementById(this.id + "autocomplete-list");
      if (x) x = x.getElementsByTagName("div");
      if (e.keyCode == 40) {
        currentFocus++;
        addActive(x);
      } else if (e.keyCode == 38) {
        currentFocus--;
        addActive(x);
      } else if (e.keyCode == 13) {
		    $("#runnob-search-form").submit();
        e.preventDefault();
        if (currentFocus > -1) {
          if (x) x[currentFocus].click();
        }
      }
  });
  function addActive(x) {
    if (!x) return false;
    removeActive(x);
    if (currentFocus >= x.length) currentFocus = 0;
    if (currentFocus < 0) currentFocus = (x.length - 1);
    x[currentFocus].classList.add("autocomplete-active");
  }
  function removeActive(x) {
    for (var i = 0; i < x.length; i++) {
      x[i].classList.remove("autocomplete-active");
    }
  }
  function closeAllLists(elmnt) {
    var x = document.getElementsByClassName("autocomplete-items");
    for (var i = 0; i < x.length; i++) {
      if (elmnt != x[i] && elmnt != inp) {
        x[i].parentNode.removeChild(x[i]);
      }
    }
  }
  document.addEventListener("click", function (e) {
      closeAllLists(e.target);
  });
}
var suggestions = []
$(function() {
	$( "#runnob-search-input" ).keyup(function(e) {
		runnob_suggest = $("#runnob-search-input").val();
		if(runnob_suggest) {
			$.get("https://www.runoob.com/wp-content/themes/runoob/option/alisearch/v330/suggest.php?q="+runnob_suggest,function(data,status){
				$.each(data, function(i, item) {
					suggestions[i] = data[i].suggestion;
				});
			});
		}
		
	});
	$(".fa-search").click(function() {
		$("#runnob-search-form").submit();
	})
	$('html, body').animate({
        scrollTop: $(".navigation").offset().top
    }, 200);
	if(readCookie("runoob-uuid")) {
	    userID = readCookie("runoob-uuid");
	}
	
	$.getJSON("https://www.runoob.com/wp-content/themes/runoob/option/alisearch/v330/hot_hint.php?user_id=" + userID,function(data){
		var hot_html = '';
		let containSpecial = RegExp(/[(\ )(\~)(\~)(\!)(\！)(\@)(\#)(\$)(\￥)(\%)(\^)(\……)(\&)(\*)(\()(\（)(\))(\）(\——)(\=)(\[)(\【)(\])(\】)(\{)(\})(\|))(\、))(\)(\\)(\;)(\；)(\:)(\：)(\')(\‘)(\’)(\")(\“)(\”)(\,)(\，)(\。)(\/)(\《)(\》)(\?)(\？)(\)]+/);
			
		$.each( data, function( key, val ) {
			if($.isNumeric(val['hot']))  {
				return;
			}
			if (containSpecial.test(val['hot'])) {
				return;
			}

			hot_html += '<a target="_top"  href="https://www.runoob.com/?s='+ val['hot'] + '">' + val['hot']+ '</a>';
		});
		$(".cate-items").html(hot_html);
	});
	
})

autocomplete(document.getElementById("runnob-search-input"), suggestions);
//autocomplete(document.getElementById("s"), suggestions);
// 返回信息
var rn = "163370534416781872723910";
var ops_request_misc = "%7B%22request%5Fid%22%3A%22163370534416781872723910%22%2C%22scm%22%3A%2220140713.107711..%22%7D";
</script>
<!-- 底部 -->
<div id="footer" class="mar-t50">
   <div class="runoob-block">
    <div class="runoob cf">
     <dl>
      <dt>
       在线实例
      </dt>
      <dd>
       &middot;<a target="_blank" href="/html/html-examples.html">HTML 实例</a>
      </dd>
      <dd>
       &middot;<a target="_blank" href="/css/css-examples.html">CSS 实例</a>
      </dd>
      <dd>
       &middot;<a target="_blank" href="/js/js-examples.html">JavaScript 实例</a>
      </dd>
      <dd>
       &middot;<a target="_blank" href="/ajx/ajax-examples.html">Ajax 实例</a>
      </dd>
       <dd>
       &middot;<a target="_blank" href="/jquery/jquery-examples.html">jQuery 实例</a>
      </dd>
      <dd>
       &middot;<a target="_blank" href="/xml/xml-examples.html">XML 实例</a>
      </dd>
      <dd>
       &middot;<a target="_blank" href="/java/java-examples.html">Java 实例</a>
      </dd>
     
     </dl>
     <dl>
      <dt>
      字符集&工具
      </dt>
      <dd>
       &middot; <a target="_blank" href="/charsets/html-charsets.html">HTML 字符集设置</a>
      </dd>
      <dd>
       &middot; <a target="_blank" href="/tags/html-ascii.html">HTML ASCII 字符集</a>
      </dd>
     <dd>
       &middot; <a target="_blank" href="/tags/ref-entities.html">HTML ISO-8859-1</a>
      </dd> 
      <dd>
       &middot; <a target="_blank" href="/tags/html-symbols.html">HTML 实体符号</a>
      </dd>
      <dd>
       &middot; <a target="_blank" href="/tags/html-colorpicker.html">HTML 拾色器</a>
      </dd>
      <dd>
       &middot; <a target="_blank" href="//c.runoob.com/front-end/53">JSON 格式化工具</a>
      </dd>
     </dl>
     <dl>
      <dt>
       最新更新
      </dt>
                   <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-clientwidth.html" title="HTML DOM clientWidth 属性">HTML DOM client...</a>
      </dd>
              <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-clienttop.html" title="HTML DOM clientTop 属性">HTML DOM client...</a>
      </dd>
              <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-clientleft.html" title="HTML DOM clientLeft 属性">HTML DOM client...</a>
      </dd>
              <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-clientheight.html" title="HTML DOM clientHeight 属性">HTML DOM client...</a>
      </dd>
              <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-offsettop.html" title="HTML DOM offsetTop 属性">HTML DOM offset...</a>
      </dd>
              <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-offsetparent.html" title="HTML DOM offsetParent 属性">HTML DOM offset...</a>
      </dd>
              <dd>
       &middot;
      <a href="http://www.runoob.com/jsref/prop-element-offsetleft.html" title="HTML DOM offsetLeft 属性">HTML DOM offset...</a>
      </dd>
             </dl>
     <dl>
      <dt>
       站点信息
      </dt>
      <dd>
       &middot;
       <a target="_blank" href="//mail.qq.com/cgi-bin/qm_share?t=qm_mailme&amp;email=ssbDyoOAgfLU3crf09venNHd3w" rel="external nofollow">意见反馈</a>
       </dd>
      <dd>
       &middot;
      <a target="_blank" href="/disclaimer">免责声明</a>
       </dd>
      <dd>
       &middot;
       <a target="_blank" href="/aboutus">关于我们</a>
       </dd>
      <dd>
       &middot;
      <a target="_blank" href="/archives">文章归档</a>
      </dd>
    
     </dl>
    
     <div class="search-share">
      <div class="app-download">
        <div>
         <strong>关注微信</strong>
        </div>
      </div>
      <div class="share">
      <img width="128" height="128" src="/wp-content/themes/runoob/assets/images/qrcode.png" />
       </div>
     </div>
     
    </div>
   </div>
   <div class="w-1000 copyright">
     Copyright &copy; 2013-2021    <strong><a href="//www.runoob.com/" target="_blank">菜鸟教程</a></strong>&nbsp;
    <strong><a href="//www.runoob.com/" target="_blank">runoob.com</a></strong> All Rights Reserved. 备案号：<a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn/">闽ICP备15012807号-1</a>
   </div>
  </div>
  <div class="fixed-btn">
    <a class="go-top" href="javascript:void(0)" title="返回顶部"> <i class="fa fa-angle-up"></i></a>
    <a class="qrcode"  href="javascript:void(0)" title="关注我们"><i class="fa fa-qrcode"></i></a>
    <a class="writer" style="display:none" href="javascript:void(0)"   title="标记/收藏"><i class="fa fa-star" aria-hidden="true"></i></a>
    <!-- qrcode modal -->
    <div id="bottom-qrcode" class="modal panel-modal hide fade in">
      <h4>微信关注</h4>
      <div class="panel-body"><img alt="微信关注" width="128" height="128" src="/wp-content/themes/runoob/assets/images/qrcode.png"></div> 
    </div>
  </div>

 <div style="display:none;">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-84264393-2"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-84264393-2');
</script>
</div>
<script>
window.jsui={
    www: 'https://www.runoob.com',
    uri: 'https://www.runoob.com/wp-content/themes/runoob'
};
</script>
<style>
ol,ul{list-style:none}.cd-switcher a{text-decoration:none;outline:0}.cd-switcher a:hover{text-decoration:underline}a:focus{outline:0;-moz-outline:0}.main_nav{width:300px;height:60px;margin:60px auto 10px auto}.main_nav li{float:left;width:60px;margin-right:10px;font-size:16px;padding:.6em 1em;border-radius:3em;background:#2f889a;text-align:center}.main_nav li a{color:#fff}.errtip{background-color:#fceaea;color:#db5353;padding:8px 15px;font-size:14px;border:1px solid #fc9797;border-radius:5px}.cd-user-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(52,54,66,0.9);z-index:3;overflow-y:auto;cursor:pointer;visibility:hidden;opacity:0;-webkit-transition:opacity .3s 0,visibility 0 .3s;-moz-transition:opacity .3s 0,visibility 0 .3s;transition:opacity .3s 0,visibility 0 .3s}.cd-user-modal.is-visible{visibility:visible;opacity:1;-webkit-transition:opacity .3s 0,visibility 0 0;-moz-transition:opacity .3s 0,visibility 0 0;transition:opacity .3s 0,visibility 0 0}.cd-user-modal.is-visible .cd-user-modal-container{-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);-o-transform:translateY(0);transform:translateY(0)}.cd-user-modal-container{position:relative;width:90%;max-width:500px;background:#FFF;margin:3em auto 4em;cursor:auto;border-radius:.25em;-webkit-transform:translateY(-30px);-moz-transform:translateY(-30px);-ms-transform:translateY(-30px);-o-transform:translateY(-30px);transform:translateY(-30px);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;transition-property:transform;-webkit-transition-duration:.3s;-moz-transition-duration:.3s;transition-duration:.3s}.cd-user-modal-container .cd-switcher:after{content:"";display:table;clear:both}.cd-user-modal-container .cd-switcher li{width:50%;float:left;text-align:center}.cd-user-modal-container .cd-switcher li:first-child a{border-radius:.25em 0 0 0}.cd-user-modal-container .cd-switcher li:last-child a{border-radius:0 .25em 0 0}.cd-user-modal-container .cd-switcher a{font-size:1.2em;font-weight:bold;display:block;width:100%;height:50px;line-height:50px;background:#e8f1e2;color:#96b880}.cd-user-modal-container .cd-switcher a.selected{background:#FFF;color:#505260}@media only screen and (min-width:600px){.cd-user-modal-container{margin:4em auto}.cd-user-modal-container .cd-switcher a{height:70px;line-height:70px}}.cd-form{padding:1.4em}.cd-form .fieldset{position:relative;margin:1.4em 0}.cd-form .fieldset:first-child{margin-top:0}.cd-form .fieldset:last-child{margin-bottom:0}.cd-form label{font-size:16px;font-size:.875rem}.cd-form label.image-replace{display:inline-block;position:absolute;left:15px;top:50%;bottom:auto;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);height:20px;width:20px;overflow:hidden;text-indent:100%;white-space:nowrap;color:transparent;text-shadow:none;background-repeat:no-repeat;background-position:50% 0}.cd-form label.cd-username{background-image:url("/wp-content/themes/runoob/assets/img/cd-icon-username.svg")}.cd-form label.cd-email{background-image:url("/wp-content/themes/runoob/assets/img/cd-icon-email.svg")}.cd-form label.cd-password{background-image:url("/wp-content/themes/runoob/assets/img/cd-icon-password.svg")}.cd-form input{margin:0;padding:0;border-radius:.25em}.cd-form input.full-width{width:80%}.cd-form input.full-width2{width:94%}.cd-form input.has-padding{padding:12px 20px 12px 50px}.cd-form input.has-border{border:1px solid #d2d8d8;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none}.cd-form input.has-border:focus{border-color:#98b880;box-shadow:0 0 5px rgba(52,54,66,0.1);outline:0}.cd-form input.has-error{border:1px solid #d76666}.cd-form input[type=password]{padding-right:65px}.cd-form input[type=submit]{padding:16px 0;cursor:pointer;background:#96b97d;color:#FFF;font-weight:bold;border:0;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none;appearance:none;font-size:1.2em;font-weight:bold}.no-touch .cd-form input[type=submit]:hover,.no-touch .cd-form input[type=submit]:focus{background:#3599ae;outline:0}@media only screen and (min-width:600px){.cd-form{padding:2em}.cd-form .fieldset{margin:2em 0}.cd-form .fieldset:first-child{margin-top:0}.cd-form .fieldset:last-child{margin-bottom:0}.cd-form input.has-padding{padding:16px 20px 16px 50px}.cd-form input[type=submit]{padding:16px 0}}.cd-close-form{display:block;position:absolute;width:40px;height:40px;right:0;top:-40px;background:url("/wp-content/themes/runoob/assets/img/cd-icon-close.svg") no-repeat center center;text-indent:100%;white-space:nowrap;overflow:hidden}@media only screen and (min-width:1170px){}#cd-login,#cd-signup,#cd-reset-password{display:none}#cd-login.is-selected,#cd-signup.is-selected,#cd-reset-password.is-selected{display:block}
</style>
<div class="cd-user-modal"> 
	<div class="cd-user-modal-container">
		<ul class="cd-switcher">
			<li><a href="javascript:;">用户登录</a></li>
			<li><a href="javascript:;">注册新用户</a></li>
		</ul>

		<div id="cd-login"> <!-- 登录表单 -->
			<div class="cd-form">
				<p class="fieldset">
					<label class="image-replace cd-username" for="signin-username">用户名</label>
					<input class="full-width has-padding has-border" id="signin-username" name=username type="text" placeholder="输入用户名">
				</p>

				<p class="fieldset">
					<label class="image-replace cd-password" for="signin-password">密码</label>
					<input class="full-width has-padding has-border" id="signin-password" name="password" type="password"  placeholder="输入密码">
				</p>
				
				<p class="fieldset">
					<input type="checkbox" id="remember-me" checked>
					<label for="remember-me">记住登录状态</label>
          <a href="//www.runoob.com/reset-password" style="float: right;padding-right: 20px;" target="_blank">忘记密码？</a>
				</p>
 				<input type="hidden" name="action" value="signin">
				<p class="fieldset">
					<input class="full-width2" type="submit" value="登 录">
				</p>
        <div class="err-msg"></div>
			</div>
		</div>

		<div id="cd-signup"> <!-- 注册表单 -->
			<div class="cd-form">
				<p class="fieldset">
					<label class="image-replace cd-password" for="verifycode">邀请码</label>
					<input class="full-width has-padding has-border" id="signup-verifycode" name="verifycode" type="text"  placeholder="输入邀请码">
				</p>
				<p class="fieldset">
					<label class="image-replace cd-username" for="signup-username">用户名</label>
					<input class="full-width has-padding has-border" id="signup-username" name="name" type="text" placeholder="输入用户名">
				</p>

				<p class="fieldset">
					<label class="image-replace cd-email" for="signup-email">邮箱</label>
					<input class="full-width has-padding has-border" name="email" id="signup-email" type="email" placeholder="输入mail">
				</p>

				<p class="fieldset">
					<label class="image-replace cd-password" for="signup-password">密码</label>
					<input class="full-width has-padding has-border" id="signup-password" name="password" type="password"  placeholder="输入密码">
				</p>
				<p class="fieldset">
					<label class="image-replace cd-password" for="signup-password2">重复输入密码</label>
					<input class="full-width has-padding has-border" id="signup-password2" name="password2" type="password"  placeholder="重复输入密码">
				</p>
				
				<!-- 
				<p class="fieldset">
					<input type="checkbox" id="accept-terms">
					<label for="accept-terms">我已阅读并同意 <a href="javascript:;">用户协议</a></label>
				</p>
				 -->
				 
				 <input type="hidden" name="action" value="signup">
				<p class="fieldset">
					<input class="full-width2" type="submit" value="注册新用户">
				</p>
				<p class="fieldset">
				  <a href="//www.runoob.com/w3cnote/runoob-user-test-intro.html#invite" target="_blank">如何获取邀请码？</a>
				  </p>
				<div class="err-msg"></div>
			</div>

		</div>

		<a href="javascript:;" class="cd-close-form">关闭</a>
	</div>
</div> 
<script src="https://static.runoob.com/assets/libs/hl/run_prettify.js"></script>
<script src="/wp-content/themes/runoob/assets/js/main.min.js?v=1.130"></script>

</body>
</html>